package jwanalytics.ejb.webhouse;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="returning_browser_dimension")
@SequenceGenerator(name="c_returning_browser_sequence", sequenceName="c_returning_browser_sequence")
public class ReturningBrowserDimension {
	
	/** Id or primary key field of this class. */
	private Long id;
	
	/** This is a key to date_dimension table. */
	private Integer cookieDateKey;
	
	@Id
 	@Column(name="returning_browser_key")	
 	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="c_returning_browser_sequence") 	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name="cookie_date_key")
	public Integer getCookieDateKey() {
		return cookieDateKey;
	}
	
	public void setCookieDateKey(Integer cookieDateKey) {
		this.cookieDateKey = cookieDateKey;
	}
	
}
